package com.ruicar.afs.cloud.product.vo;

import cn.hutool.core.util.ArrayUtil;
import lombok.Data;

import java.util.List;

/**
 * @author changyu.gui
 * @version 1.0
 * @date 2020/5/14 10:14
 */
@Data
public class Grids {
    private String defineId;
    private int span;
    private String[] fields;

    Grids(List<String> list) {
        this.defineId = "defineFrom";
        this.span = 12;
        this.fields = ArrayUtil.toArray(list, String.class);
    }
}
